<!doctype html>
<html>
<head>
    <meta charset=utf-8>
    <title></title>
    <meta name="robots" content="noindex,nofollow">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="<?=Web_Path?>packs/layui/css/layui.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/font.css">
    <link rel="stylesheet" href="<?=Web_Path?>packs/admin/css/style.css">
    <script src="<?=Web_Path?>packs/js/jquery.min.js"></script>
    <script src="<?=Web_Path?>packs/layui/layui.js"></script>
    <script src="<?=Web_Path?>packs/admin/js/cscms.js"></script>
</head>
<body id="index_setting">
    <span class="layui-breadcrumb">
        <a ><cite><i class="fa fa-map-marker"></i><?=L('tpl_ce_01')?></cite></a>
        <a href="<?=site_url('opt/main')?>"><?=L('tpl_ce_02')?></a>
        <a href="<?=site_url('collect/add')?>"><?=L('tpl_ce_03')?></a>
    </span>
    <fieldset class="layui-elem-field" style="margin-top: 15px;">
        <legend><?=L('tpl_ce_74')?></legend>
        <div class="layui-field-box">
            <table class="layui-table">
                <colgroup>
                </colgroup>
                <thead>
                </thead>
                <tbody>
                <?php
                    $sign = 0;
                    if($picmode>0){
                        $sign = 1;
                        echo '<tr><td>'.L('tpl_ce_77').'</td><td>'.str_encode($pic).'</td></tr>';
                    }
                    if(!empty($zdy)){
                        for ($i=0; $i < count($zdy['name']); $i++) {
                            if(is_array($zdy['text'][$i])){
                                $zdy['text'][$i]=implode("<br>",$zdy['text'][$i]);
                            }
                            $sign = 1;
                            echo '<tr><td>'.$zdy['name'][$i].'</td><td>'.str_encode($zdy['text'][$i]).'</td></tr>';
                        } 
                    }
                    if($sign == 0){
                        echo '<tr><div style="height: 50px;line-height: 50px;text-align: center;">'.L('tpl_ce_75').'</div></tr>';
                    }
                ?>
                </tbody>
            </table>
            <a class="layui-btn" style="margin-left: 45%;" href="<?=site_url('collect').'?v='.rand(1000,9999)?>"><?=L('tpl_ce_76')?></a>
        </div>
    </fieldset>
    <script type="text/javascript">
        cscms.init();
    </script>
</body>
</html>